package observer.weatherApp;

import observer.weatherApp.display.DisplayElement;
import observer.weatherApp.display.impl.CurrentConditionDisplay;
import observer.weatherApp.display.impl.StatisticDisplay;
import observer.weatherApp.weatherData.WeatherData;

public class WeatherApp {
    public static void main(String[] args) {

        WeatherData weatherData = new WeatherData();

        DisplayElement currentConditionDisplay =
                new CurrentConditionDisplay(weatherData);

        DisplayElement statisticDisplay =
                new StatisticDisplay(weatherData);

        weatherData.setMeasurements(80,65,40);

        System.out.println("================================================================================================");

        weatherData.setMeasurements(78,62,39);
    }
}
